/**
 * Created by Administrator on 17.8.7.
 */
"use strict";

var fibs = [0, 1];

var ticker = window.setInterval(function () {
    var length = fibs.length;
    console.log(fibs[length - 1]);

    fibs.push(fibs[length - 1] + fibs[length - 2]);

    if (fibs.length > 100) {
        window.clearInterval(ticker);

        phantom.exit();
    }
}, 100);